Added addvote function but Firebase lookups not working