The secretary of state shall attend at the beginning of each legislative session, to call the members of the house of representatives to order and to preside until a speaker is elected.