minimum length required attribute added to the password field in login model