Changed user.name to user.username