How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called ‘accountVerified’?

How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called ‘accountVerified’?