Support patch good and view

remove csrf
add logger to restful error
use patch instead of get