added audit and error pages