add function for exceptional page
add css file in order to render webpage