Added ranking, inserts win/loss & rank into DB