Nancy Pelosi secures another term as Speaker of the House