this check prevents an unnecessary hit to the database if the users name doesn't change, which will be the case most of the time. maybe the if statement should be outside of the method and it should only be called if one of the names change?