adds socket connect over all streaming
modifies db connection
Merge pull request #46 from scottjason/db-connect

modifies db connection on page load