template handlebars modified.
controller: added rpc.before to config in init for django CSFRTOKEN