Added CORS functional. Fixed page images handler. Fixed logging functional