Remove dead code
User registration using JSON/XHR