https://iranwebsazan.org/submit-function-for-user-registration/
Submit function for user registration