ADDED test cases for email and password in user_spec.rb.