i have in my sandbox many of function, some of the function are public, and other's i want them to be only for website member's.
this is an example for a function i want it to be for website members only

```
function get_page ($dbc, $pg) {

// the database connection, our query
        $q = "SELECT * FROM pages WHERE name = '$pg' AND status = 1 LIMIT 1";
        $r = mysqli_query($dbc, $q);
        $page = mysqli_fetch_assoc($r);

        echo '<div class=entry>';
            echo '<h1>'.$page['title'].'</h1>';
            echo '<div class="content_body">'.$page['body'].'</div>';   
        echo '</div>';
}

```

is there any way to do that?