add static resource handler