better termination of user sessions