added test for email case
changed syntax of user email downcase
updated email REGEX