Updated to add methods to reach ErrorPage