fix authentication function
fix get_tags