clean up db connection and adding login info
Merge branch 'socialtalk_wei' of https://github.com/leelingco/socialtalk into socialtalk_wei