added database connection

database connection for PostgreSQL database