created Error controller to handle url errors