autologin for scheduler