Added getter function for submission class and updated get SUbmissions for client