A military junta has rule Niger for three years but has struggled to contend with jihadist violence.