Added logic to display signed in/ login/ sign up on all pages