Revised the dashboard route and implemented the profile routes.