Added rails controller and model, and disabled button feature