Added validation for question submission