prepared initial login handling structure
Merge pull request #3 from chruffer/master

prepared initial login handling structure