refactor to use missingMethod to catchall in routes and controller