Fix bugs in user management interface.