legacy controller, to handle old URLs