Added GET method for API