Added route, action and middleware change for Auth0