leaveController created