updated user-post component to use yield and cleaned up template