modify Sessions controller to handle login and set error status on invalid login
fix .gitignore