In my API, I have a class User and a class UserDetails (which is created with @OneToOne connection).
User is created when registration is executed (by sending UserReg