appoinments_controller.rb tweaking