def create_login_role(username, password):
    """Helper method to construct SQL: create role."""
    # "create role if not exists" is not valid syntax
    return f"DROP ROLE IF EXISTS {username}; CREATE ROLE {username} WITH CREATEROLE LOGIN PASSWORD '{password}';"