refactor questions_controller