added trending tags + factored api in blueprint