adding auth0 logic