required attribute added to phone number and password