Adding LeaveApplication Interface