password as a module