adding the custom table name in hospital controller function