changed submit_profile to submit_register