add the function prototype of userList lock function