added get_profile_field function from API