adding whoami feature
allowing it to run with login/logout
Source formatting
Merge branch 'pr-308'