Login and basic setup

Basic session setup with login and logout functionality