Added code for managing anon user in recommendation call.