Help with adding pagination to custom wp_query

Personally I would do this after fetching the user id:

echo '<pre>';
var_dump($user_id);
echo '</pre>';

To check it is getting the $user_id as expected. (int)
This should be a comment, but I am lacking reputation.

tech