add postgres support
Merge pull request #1 from groob/postgres

add postgres support and allow the admin password to be managed