successfully connect to mongodb using mongoose