Added error pages and responses