Made header generate appropriate links for non-logged in users