Revert "added $user global"

This reverts commit 48fae50da7cc5b7c704a79113472ffa1c98cd105.