fix runtime error with nil pointers in data struct
add tests for logout
Merge branch 'master' of https://github.com/koninka/monsterquest