Combine privileged users array with my current query

Just add this before your code

$authors = array( 1, 2, 3 ); // privileged users array
$signed_in_user = wp_get_current_user(); // get current user

// check if singed in user is in authors array
if ( in_array( $signed_in_user->ID, $authors ) ) :

And then this after your code

<?php else : ?>
This message will be displayed if the signed in user is not in the authors array.
<?php endif; ?>

tech