public JsonResult CheckIn(int tournamentId, int tournamentUserId = -1)
        {
            Models.Tournament tournament = new Models.Tournament(service, tournamentId);


            if (tournament.IsAdmin(account.Model.AccountID))
            {
                // Check if a userId was provided first before checking an account
                if (tournamentUserId != -1)
                {
                    // An admin is checking in a user
                    status  = tournament.CheckUserIn(tournamentUserId);
                    message = "User is " + (status ? "" : "not") + " checked in";
                }
                else if (account.IsLoggedIn())
                {
                    // A user with an account is checking in.
                    status  = tournament.CheckAccountIn(account.Model.AccountID);
                    message = "Account is " + (status ? "" : "not") + " checked in";
                }
            }
            else
            {
                message = "You can not do this.";
            }

            data = new
            {
                isCheckedIn = tournament.isUserCheckedIn(tournamentUserId),
                targetUser  = tournamentUserId
            };
            return(BundleJson());
        }