added search by tags functionality