Working on get_data.
Some more logic around connecting /pca request to get_data.