added routes.allowMethods