added login logout
Merge branch 'master' of https://github.com/cs10/snap-server