Added autologout.