make users to restful