Adding error message and redirecting to config page. Resolving Issue #1