UserService implements UserDetailService, integration in spring security.