chang main and login