Added function to get the users home directory.