Updated with initial routes and updated middleware