add state field to appointment for use with state machine gem