using route resource to routes and changing user posts methodname.