create controller to save answer