Boundary phenomena and phase transitions in strongly correlated one dimensional systems