avoid rendering of navbar in the backend