form is getting submitted multiple times possibly because of view
getting created multiple times