adding redirect to www before_filter
render ERROR when response.length is 0