cleanup and user identification