added user authenticated to logout buttons