AppointmentManagementSystem -
1) handle requests in respond to for showing errors
2) add update.js.erb for refreshing page on record updates