modification of userLocked function in user library, made them static