Current User is now a defunct method of getting data from a database. I had actually spent 12 hours the other day figuring it all out (partly because Promises were still a mystery to me). The new way to get this data is the get() function:
import wixData from 'wix-data';
// ...
wixData.get("database", "elementid")
.then( (results) => {
let firstname = results.title;
let lastname = results.lastName;
//________________________________
$w("#text63").text=firstName+ " " +lastName+ " - Viewer" ;
//Do all of your work with these variables here.
//_________________________________
} )
.catch( (err) => {
let errorMsg = err;
} );