added support for xsrf verification. upgraded to new gore.