When I use postman to login a user with http://localhost:3000/login but it always run the register function. Code runs ok, it just routes to wrong func
postman
http://localhost:3000/login