#9 setUserForInstance(int instanceId,int userId) implementation added