added user lock/unlock