Update views.py

Added code to the create function.
Modified the createUserAccount to handle accounts created for targets.
Added the addUser function to reduce repetition in createUserAccount function.
Merge pull request #13 from CKnotts/patch-4

Update views.py