Insert statements for database added in sql, settings page not corrected