/// <summary>
        /// returns the list of account for the specified user id
        /// </summary>
        /// <param name="CurrentUID"></param>
        /// <returns></returns>
        public static List <Account> CurrentUserAccounts()
        {
            List <Account> currentUserAccounts = new List <Account>();

            AccountsData.UserAccounts().TryGetValue(CurrentUID, out currentUserAccounts);
            return(currentUserAccounts);
        }
        /// <summary>
        /// checks if user id exists
        /// </summary>
        /// <param name="userID"></param>
        /// <returns></returns>

        public static bool LoginUser(string userID)
        {
            bool isIDExist;

            if (AccountsData.UserAccounts().ContainsKey(userID))
            {
                isIDExist  = true;
                CurrentUID = userID;
            }
            else
            {
                isIDExist = false;
            }

            return(isIDExist);
        }