Implemented login and logout.

Created login form as function and login and logout scripts.