Implementing autologin at startup.