fix the routes issue. Resources is the way to go