Electronic phases in iron-based high temperature superconductors