updated routes and entries_controller