introduced active record, added tags
add tag only if not exists