added src/controllers/login.js