added validation section and some styles to form