public user getUserById(string user_ID)
        {
            user    obj     = new user();
            userDAO userdao = new userDAO();

            obj = userdao.getUserById(user_ID);
            if (obj == null)
            {
                return(null); //user does not exist
            }
            else
            {
                return(obj);
            }
        }
        public user login_validation(string user_ID, string password)
        {
            user    obj     = new user();
            userDAO userdao = new userDAO();

            obj = userdao.getUserById(user_ID);
            if (obj == null)
            {
                return(null); //user does not exist
            }
            else
            {
                Crypto_BO crpyto           = new Crypto_BO();
                bool      password_correct = crpyto.password_compare(user_ID, password, obj.salt, obj.password);
                if (password_correct) //obj.password == password)
                {
                    return(obj);      //user pass login
                }
                else
                {
                    return(null); //user fail login
                }
            }
        }