fixing date_creation now goes to the MySQL db, and using div alert-error