Using match for routes is deprecated - use get for the error pages