Development of Personality and the Optimization of the Pedagogical Process