Create a route which can handle authentication