added a function to get the newest post id on a board