added _createUser, _createRole, and respective tests. Also added lintspaces to project and transformed tabs into spaces