Added spec for mixed case emails
different implementation of before_save for users
added test case email for multiple dots (.) in an email
updated regex to handle new invalid email case