implementovany logout