added ajax call to get questions