changing the way sudo commands are passed to the user role
fixing template syntax
Merge pull request #825 from edx/jarv/user-refactor

Jarv/user refactor