server now accepts array of tags and not a string. client sends array of tags and trims whitespaces.