Added login option to server

-After login server redirects to view2 aka loggedin.html

*Forgot to add creating cookies