templating, remote user, custom authentication