60bea3
Reduce a lot of code duplication by introducing the utility method, __get_user This method searches the database for the user having for the given key as username or as email address.