added validation of database info