backend queries for setting board to private

added check privacy and toggle privacy