removed "required" tags from html, added javascript validation. Added database