First complete version of whoami.py