def create_user(username, password=""):
    """
    Uses the `/user/new` endpoint taking the username as a parameter.

    TODO: What happens when you specify no password?

    e.g. username="banana1"

    """
    endpoint = KICKFLIP_API_URL + '/user/new'
    payload = {'username': username}

    if password:
        payload['password'] = password

    user_response = kickflip_session.post(endpoint, payload)

    return user_response.json()