Added user assignment feature. Raw version