check for whether to show sign in link