this seems to work, has probs with passwd signing...