updated the categorycontroller for displaying the posts for all users in the frontend. changed the line no 242