improves user logout