add restful user support