Added return value for User::logout().