make reference to user's home dir dynamic
defining a few new functions