re-wrote routing for admin and created dashboard