Adjusted the routes so that the slugs are optional