function to create all core users