Adjusted the user class and added a downcase email test to Rspec