model entity adjustment to match spring security