modified the routes to support multiple actions