This looks wrong. append_sid and generate_board_url at the same time.