adding admin routes and logic