use mongoose to query db, show all appointments