add auto_test and login script.