add user id and click function