links controller, accessible through json only.