Added client side functionality for questions