private ActionResult SignInMember(Member member)
        {
            member.SetLoginDate();
            db.SaveChanges();

            DateTime sessionDate = DateTime.Today;
            int sessionCount = db.AttendanceSet(member.Id, true, sessionDate);
            int dojoAttendanceCount = db.MemberAttendances.Count(ma => ma.Date == sessionDate);
            // Notify other members looking at this screen
            IHubContext context = GlobalHost.ConnectionManager.GetHubContext<AttendanceHub>();
            context.Clients.All.OnAttendanceChange(sessionDate.ToString("dd-MMM-yyyy"), member.Id.ToString("N"), member.MemberName, (member.TeamId ?? Guid.Empty).ToString("N"), true.ToString().ToLower(), sessionCount, dojoAttendanceCount, "", member.ImageUrl);
            string message = member.GetLoginMessage();

            return Json(new {
                memberId = member.Id.ToString("N"),
                memberName = member.MemberName,
                memberSessionCount = sessionCount,
                memberMessage = message
            });
        }