Help! Really confused with my rear grab bar and tail light

So I picked up a 2001 Honda trx400ex and it’s missing the rear grab bar and tail light and when I looked up one online everyone says it’s built into the frame and mine has two bars sticking out on each side with two bolt holes on each side any idea how to fix this I don’t know if this is factory and easily fixable or I’m stuck like this for awhile

Here is what I’m dealing with now: Imgur: The most awesome images on the Internet