First commit: login and logout.

Variables are saved to session cookie and retrieved later. some model
functions are implemented, some need implementation later.