added form functionality and content