[api] change UserDetail for new needs