removed the mutable variable in favor of a function
Merge pull request #377 from dcapwell/remove-user-hdfs

removed the mutable variable in favor of a function