Missed a parameter in postgres user check