change the restful api interface, remove the /user/id part