Sorry, I customized the store I took the code from so much that it's hard to remember what's stock sometimes
Open auth.php and put this code before ?>
Code:
$userinfo = func_query_first("SELECT login,firstname,lastname,membershipid FROM $sql_tbl['customers'] WHERE login='$login'");
$smarty->assign("userinfo", $userinfo);