adding a login feature that breaks templating... but whatever