add logout in Application