^^ The last part of that code I use to change the welcome back message, as I didn't want to greet them by their login name. Instead: Welcome back, firstname lastname!
If you want to use that as well, you can edit your authbox.tpl to use:
Code:
Welcome back,
{$name[0]} {$name[1]}!