userName() doesn't pull first or last name - it pulls the actual username. You can then pass this username to the User Profile Web Service to return the PreferredName, which shows up in the form of "Last Name, First Name." Or, you can just pull the first name and last name separately to put in whatever order you want.