adding conditional for header based on logged in status