Add a case for assign user

Relates #487