added reister.php (form with validation and submit to database)