created functions for helping with socket io operations
Merge branch 'master' of https://github.com/tenoritaiga/node-login
merge