def parse_user(db_result):
    """
    Takes a single user row DB result and puts it into a parsable form
    """
    result = {
        "uid": db_result[0],
        "username": db_result[1],
        "password": db_result[2]
    }
    return result