added some error page
add simple REST API test