Fixed details and routes

fixed how the routes work and added more to details