added registration to backend and template