Adds a check to the database driver for email and password