docs: def get_user_by_id(uid,**kwargs):
      """
          Get a user by username
      """
      user_id = kwargs.get('user_id')
      try:
          user_i = _get_user(uid)
          return user_i
      except NoResultFound:
          return None