get the questions & answers from the db