UserManagement code for Dataspark