Add in leaveProject handler