added contact edit card functionality