logic to show and hide sign in and sing out links