fixed db problem, added winnings ranking