added error page
on error you can redirect to that page to display error