private ApplicationUser GetCurrentUser() { string userId = User.Claims.ToArray()[0].Value; return(AuthenticationLogic.GetUserByID(userId)); }