Refactor links and posts routes with more better helpers.