Added autologin.