add the code that show the board based on privacy