Merge pull request #32 from COPPER-BOBCAT/staging

register cleanup
added logout, and fixed empty server token request error
test
Merge pull request #34 from zindlerb/master

Logout and minor bug fixes