added vlaidations for email for user, fixed rspec tests that it broke
added an error if a user signs in incorrectly