public ActionResult LogUserLogin(string returnUrl) { string userID = System.Web.Security.Membership.GetUser().ProviderUserKey.ToString(); DocumentsOperations documentsOperations = new DocumentsOperations(); documentsOperations.InsertUserLoginAuditTrails(new Guid(userID)); return RedirectUserAfterLogin(returnUrl); }