Updated error messages. Created new database table.