Implemented basic logins and logouts
Merge pull request #8 from hydrais/login

Implemented basic logins and logouts