End session and generate report