retrieve a board from the database