Insert conditional links for Sign In/Up/Out and Edit Profile.