changes on postgres app (login verification)