log out implementation test passing