/// <summary>
        /// CONVERTS USER MODEL TO AUTHENTICATED USER (EXTENDS IUserModel)
        /// </summary>
        /// <param name="currentUser"></param>
        /// <param name="winstarDataModel"></param>
        /// <returns></returns>
        public static IAuthenticatedUser ToAuthenticatedUser(this IUserModel currentUser, IWinstarDataModel winstarDataModel)
        {
            var token = AuthTokenHelper.GenerateAuthToken(winstarDataModel);

            var autehnticatedUser = new AuthenticatedUser
            {
                CurrentUser = currentUser,
                Token       = token
            };

            return(autehnticatedUser);
        }