How to display the username in view
In advanced section add a relationship by author like this :


Then add a field, choose User:name (the user or the author name) :


make sure that you have the relationship "author" in the field setting :


Now you should see the correct author name.