docs: def add_user(username, password):
      """
      CLI Parameter to add a user to the database
      :param username:
      :param password:
      :return: JSON status output
      """
  
      user_model = Query()
      if db.search(user_model.username == username):
          return {
              'error': 'User {0} already exists'.format(username)
          }
  
      salt = hashlib.sha512(str(os.urandom(64)).encode('utf-8')).hexdigest()
      password = hash_password(password, salt)
      api_key = gen_api_key(username)
  
      user = {
          'username': username,
          'password': password,
          'salt': salt,
          'api_key': api_key
      }
      user_id = db.insert(user)
  
      return {
         'result': 'success',
         'eid': user_id,
         'user_created': user
      }