added check for author and logged in to add tags