Fixed Betting Bug + invalidate session in homepage