added random question generation, pushing and retriveing quesion array from database, batch query for questions only