General template and login update