Updated the routes to allow multiple authentication and authorization functions