var express = require("express");
var userController = require("../controllers/userController");
var router = express.Router();

router.post("/register", userController.createUser);
router.post("/login", userController.loginUser);
router.post("/recover-password", userController.recoverPassword);
router.post("/logout", userController.logoutUser);
router.get("/session", userController.getSessionUser);

module.exports = router;
