check passwordPeekedBefore in main.initData instead of messaging back and forth