completed user login

fixed logging in users with bcrypt and saving sessions. added navbar to the layout page. added login views.