added validation and seat.php renamed