Backend logic for getting related posts and added the "more posts" functionality on most methods in PostsLogic