Added functionality to add, edit, and remove tags