fix user issue that will work with linux

This will now use the uid of the user.  This is only guaranteed to work on linux.  For example, sys-proctable does not have uid on OSX.