Added clearing the role_appointment in the controller