add login, logout function
Merge branch 'master' of https://github.com/x1wins/http-chatting