Fixed security issue where database creds were stored in plaintext json. Improve the installer