Added console log statement to profile get