add pwd controller