adding required tag to validate empty