logout sets last login time