refactored example identity preparing for batch processing; introducing interface for user managment