Updated add_thread.php