Fixing mongoose connection issue