Login and basic setup

Basic session setup with login and logout functionality
Templated the code

Separated the code concerning various different UI components and
created Template kind structure.
Merge pull request #1 from dsasidhar/projects-and-testing

Projects and testing