Find user
    Attempts to find a user by a set of search params. You must be in
    application context.

def find_user(search_params):
    """
    Find user
    Attempts to find a user by a set of search params. You must be in
    application context.
    """
    user = None
    params = {prop: value for prop, value in search_params.items() if value}
    if 'id' in params or 'email' in params:
        user = user_service.first(**params)
    return user