move all the templating into request scope, still not right...