Flake8 clena up on views & fixed error of user def on 'create' view.
Merge pull request #4 from jackiekazil/master

Flake8 clean up on views & fixed error of user def on 'create' view.