AA changes and first_login.lua added