added mongo code, dropbox code, and socket io code for photo uploads