updated base template, login/register/home pages