added user dir path func