adding angular switch on nav bar

made it so that the nav bar changes if logged in or not