private static Response LoadCurrentUser(NancyContext context) { if (!context.ContainsCookie(_config.CookieName)) { return(null); } var cookieValue = context.ValueOfCookie(_config.CookieName); context.CurrentUser = CurrentUserBy(cookieValue); return(null); }