mongoose connection to db working