configuring for postgresql and project hardening