added routes based paths
made private and reworked dashboard_url