auto refresh nav header when click addToCart button and log in for user not log in