Added ProgParams and Password Encryption