Add root resources to server and form error handel