added a better regx to validatte email format, preventing consecutive '.' like wei@gmail..com. | added test to test the before_save { email.downcase! }