added a function to get 'applications' response.