add styles and test the functions, there still exists an error when post json data to /api/tags.