Better way to handle link POST