added required to fields in login forms