update routes.js for user-profile and dashboard