Added Login, Register and Logout features

I added the login, logout and register user features.

I did it without ajax, css, I kept to the basic. I might change it later.