Fix bug causing crash in create_user view

This change fixes the following error:

`TypeError: __json__() missing 1 required positional argument: 'request'`
Merge pull request #47 from aharonp/master

Fix bug causing crash in create_user view