def loginbyEmail(email): logger.info('get User in AuthService for login:' + email) return UserModel.findUserbyEmail(email)
def getUserbyEmail(email): logger.info('get User in userservice:' + email) return UserModel.findUserbyEmail(email)