Adds more validations on sign up.
Adds tests for users.