Implemented form functionality for create.php