add aasm to appointment.rb for state machine