Fixed settings and login templates.