add upvotes router functionality