api of user entity