get_studies function

Get all studies