I\'d like to create an admin user in Wordpress and then hide it from the users list in the wordpress dashboard, as a kind of hidden back door. I am not trying to hide all admins
@Natalia - If you want to block all other admins to see your account, just change
if ($username == '') {
with
if ($username != '') {
This way you hide your account to all other accounts but yours.