fix preference saving issue for once and for all
email, new user, admin dashboard to mainlayout