improved user rest api and need rest api