Error logging
Adding mongo credentials.
Trying socket polling for OpenShift.
Fixing stupidity.