Add test for email downcase, refactor downcase in user model, and update email regex