change path to index.html to ../public
restore simpler mongoose connect