added codes for getting patient's name from table