Implement key assign actions.

Improve behavior of repling more users.