not using pq in models.go
fix pq import
simplify DB access