function 'ajax_edit_profile' with 'try: except'
insert profession working with ajax