added name attribute with appropriate to credentials input elements