removes logging of session