check pass dir exists
will have to replace this insecure password manangement