remove rest-api with express, add some messages to errors