It works but now when anyone registers with janrain his data is messing so i used this code but its not redirecting :
auth.settings.extra_fields['auth_user']= [
Field('Country'),
Field('City'),
Field('gender',requires=IS_IN_SET(genders,zero=None)),
Field('complete_registration',default=False,update=True,writable=False,
readable=False)]
if auth.user and not auth.user.complete_registration:
if not (request.controller,request.function) ==
('default','user'):
redirect(URL('default','user/profile'))

