adding required attribute for example signin form