validate the api using express-validator with node js