using credential module for pw storage