Wasn't using the database url for mongodatabase