log out side console, question prints expected answer