changes templates and login