implementing log in with passport and passport-local
using toastr for notificating when user logs in. and making the form disappear
refactored the login business logic and ui logic to seperate files
refactored routes for login