fixed logout functionality, batchEvent still not working