added logger, created REST API get controllers, added error page handlers