added user information before closing the app preventing unwanted user interaction