login init and basic theme engine