added automount home directory support. contributed by simeon@bangor.co.uk