Added pretty error messafes for resource service