Relay based authentication using GraphQL