anchor.diff:      return new None();
     }
     Future<Option<User>> findUser(String username) async {
  -    var user = await users.findUserByEmail(username);
  +    var user = await users.findUserByEmail(username.toLowerCase());
       if (user != null && user.isActivated) {
         return new Some(new User(user));
       }
  
positive.code:   Future<Option<User>> authenticateUser(String username, String password) async {
      await new Future.delayed(new Duration(milliseconds: loginDelay));
      //search user
      var user = await users.findUser(username, password);
      if (user != null) {
        if (user.isActivated){
          var authenticatedUser = new User(user);
  
negative.code:       try {
          updatePassword(null,message.password);
          userCreated = await users.createUser(
              message.name, message.email.toLowerCase(), message.password,
              isActivated: !needRegistration);
          var jsonResult = toJson(userCreated);
          if (needRegistration && confirmationUrl != null &&
  