Rewrites source for css in user_portal html file