Added error messaging block to various pages