added login/logout and sign in/register links depending on your current session status