fix footer links to only show if current user is not nil