added functionality that shows all posts in the admin panel