made it easier to save, restore and create sessions
Merge pull request #11 from kiraboshi/feature/better-login

made it easier to save, restore and create sessions