Abase by checking the database directly against those value

abase by checking the database directly against those value