Simplify UserDetailsService, fix UserRepository to use JpaRepository or MongoRepository with the correct ID type.
(so no need to declare a separate save method, as it is already provided by Jpa and Mongo Repository)