Add leave command to app