Inserting form on a webpage faulty