1905-1911: moving to Barcelona and the new academic life