added php if to change the nav depending on if you're logged in or not.