two other philosophers also made significant contributions : the psychologist and religious thinker william james ( 1842-1910 ) brother of famed author henry jamesand john dewey ( 1859-1952 ) , an educator , and a psychologist as well .