368 - Fixing elastic search to run only on logon