Adds user profile links to all of the templates where it is relevant.