created create.php and added a form to create thread with validation