removing attempts to hid, and adding alert when logout occurs