moved mongo url into environment variable