Display user status via the avatar image
move status logic into the global scope

could effect multiple pages