fix typo $usename -> $username on several files