Changed the API return types

Changed the API Return type from User object to HTTPResponseMessage.

Added form Validation for UI. Also fixed the submit button issue.

Email Validation issue is also fixed in UI.