public ActionResult Portal() { var user = userManager.ReadUser(HttpContext.User.Identity.Name); if (user == null) { return(RedirectToAction("Index", "Home")); } ViewBag.Name = user.FirstName; ViewBag.MyOrganisations = organisationManager.ReadOrganisationsForUser(user.Id).ToList(); ViewBag.MyPlaylists = playlistManager.ReadPlaylistsForUser(user.Id).ToList(); ViewBag.RecommendedPlaylists = playlistManager.ReadPlaylists().Reverse().Take(3).ToList(); return(View()); }