created a conditional for header

only show login and register if not logged in.