fixed issue with express.methods not defined