fixing a couple of bugs and improving our sources of information for username()/is_administrator()