Bonnefond Johan, Psychologue à Aubagne