Move discuss handler code to discuss.php