Finished validateEmail() method for User model. Also implemented toDict() and toJSON() methods following Sam M.'s example.