added auto-login to configuration script