init admin,add login, tweek register and locale