Added integration test for userService. Fixed domain entities after finding bugs.