modified to add address fields in user details
fixed nil class error