Implemented the delete password method.