added StockFreezeError, and uncomment stock_auth_role check