updated lesson retrieval to GET