added tests for users controller: 100% coverage