User user = new User();
user.setFirstName(firstname);
user.setLastName(lastname);
user.setPassword(getEncodedPassword(password_confirm));
user.setUsername(username);
user.setRole(new Role());
user.getRole().setRole(2);
user.getRole().setUser(user);
// Insertion en base
repository.save(user);