making links in profile page work