JARVIS-483 added log flag
JARVIS-483 changed logic to destroy session
Merge branch 'feature/JARVIS-483' into develop