@@ -0,0 +1,542 @@
+package io.github.saidie.plantuml_api;%0A%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Service;%0Aimport org.springframework.security.core.userdetails.*;%0A%0A@Service%0Apublic class UserService implements UserDetailsService %7B%0A    @Autowired%0A    private AccountRepository accountRepository;%0A%0A    public UserDetails loadUserByUsername(String username) %7B%0A        Account account = accountRepository.findByUsername(username);%0A%0A        return new User(username, account.getPassword(), null);%0A    %7D%0A%7D%0A

Add user service for Spring Security