add userControllerTests
fix unit test