Add test if the record of user in a database