Fix upvotes in upvote box on left, add mongo server localhost connection

Placed upvotes in dummy upvote box, added a global variable in the mongo file to allow easy localhost connection to server.