Implemented user model tests for registration

Enforce uniqueness of profile name and email
Enforce proper formatting for profile name
Wrote user tests