First version of login, register and logout.

Created the register form, php files for it and the login has been
tested. Logout also implemented and working.