public ISitePrincipal GetMember()
{
var context = HttpContext.Current;
if (context.User == null)
return null;
if (!context.User.Identity.IsAuthenticated)
return null;
var member = _memberManager.Get(p => p.Username == context.User.Identity.Name);
if (member == null)
return null;
return new SitePrincipal(member);
}