working to improve code for processing of anon users.