adding postgres and jpa