How to display text only to few users

I want to display a form (formidablepro) only to some users.
two or three.
I have that code but i have been able to change it so i can have 3 users with the same text.

<?php
$user_id = get_current_user_id();
if ( is_user_logged_in() ) {
  if ( $user_id == 2 ) {
    // display user_id = 2 content
  } elseif ( $user_id == 3 ) {
    // display user_id = 3 content
  } else {
    // display other user_id content
  }
} else {
  // display content for guests
}
?>

in place for user 2 to have user 2+3+4
Thanks a lot