Changed variable name to more logical one

Renamed variable `$type` -> `$username` in `UserList->filterByUserName` -function.