add logout() to HorseRacing and SampleApp