use json and urlencoded instead of bodyParser()