logged in user read and write page

Hey sorry its not making sense tonight have tried this

$w.onReady( function () {
$w.onReady( () => {
$w(“#dataset5”).getCurrentItem();
let itemObj = $w(“#dataset5”).getCurrentItem();

} );

} );