routes refactored, add tag button fixed