add view,del,edit function to staff