adding encrypt password listener. throwing circular ref exceptions