Added handler for GET method