Review logout method to reduce call to network check.