nav bar and refreshing