Added login/logout
Removed unneeded variable
Merge pull request #2 from kromol/dev_login

Merged Login/Logout