MODE-2344: Process login/logout procedure