added titles
added form validation
added max length validation