The logged in User's info is always readily available through user->data.
Generally the logged in user's info is stored in the $user variable so you
can echo a username with
<?php echo $user->data()->username;?>
username can be replaced with any column in the users table
including ones you add yourself.