add an helper function to confirm authenticated.
show the signout link if only authenticated.