added viewing questions functionality