fixed .toLowerCase name arg in addAuthtoUser()