private async Task <SystemUser> GetSystemUserFromFacebook(FacebookUser facebookUser) { var role = await roleManager.FindByNameAsync("USER"); var systemUser = new SystemUser { FirstName = facebookUser.FirstName, LastName = facebookUser.LastName, Email = facebookUser.Email, UserName = facebookUser.Email, EmailConfirmed = true, SystemRole = role, AvatarPath = facebookUser.PictureUrl, RegisteredDate = DateTime.Now }; systemUser.CalculateAge(); return(systemUser); }