Changing route definition for dashboard